package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 友情链接对象 t_link
 * 
 * @author ruoyi
 * @date 2023-10-08
 */
public class TLink extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long tid;

    /** 合作伙伴 */
    @Excel(name = "合作伙伴")
    private String tname;

    /** 合作链接 */
    @Excel(name = "合作链接")
    private String href;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    public void setTname(String tname) 
    {
        this.tname = tname;
    }

    public String getTname() 
    {
        return tname;
    }
    public void setHref(String href) 
    {
        this.href = href;
    }

    public String getHref() 
    {
        return href;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tid", getTid())
            .append("tname", getTname())
            .append("href", getHref())
            .append("sort", getSort())
            .toString();
    }
}
